<style>
    @font-face {
        font-family: 'iconfont';
        src: url('//at.alicdn.com/t/font_1470977204_6288443.eot'); /* IE9*/
        src: url('//at.alicdn.com/t/font_1470977204_6288443.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('//at.alicdn.com/t/font_1470977204_6288443.woff') format('woff'), /* chrome、firefox */
        url('//at.alicdn.com/t/font_1470977204_6288443.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
        url('//at.alicdn.com/t/font_1470977204_6288443.svg#iconfont') format('svg'); /* iOS 4.1- */
    }

    .foot-bar {
        position: fixed;
        bottom: 0;
        height: 45px;
        line-height: 20px;
        width: 100%;
        max-width: 640px;
        background: #fafafa;
        border-top: 1px solid #e5e5e5;
        z-index: 100;
        padding-top: 10px;
    }
    .foot-bar li.current a {
        color: #ff7f00;
    }

    .foot-bar li {
        float: left;
        width: 25%;
        height: 40px;
        text-align: center;
        border-left: 0px;
    }
    .foot-bar li a{
        color: #333;
    }

    .foot-bar li a i{
        font-size: 22px;
    }

    .foot-bar li a span{

        font-size: 12px;
    }
</style>
<div class="foot-bar" <?php if($nav =='home'):?>style="display: none" <?php endif;?>>
    <ul class="ft">
        <li class="foot_part1"><a href="<?php echo site_url('hm/index')?>"><i class="icon iconfont">&#xe602;</i><br><span>首页</span></a></li>
        <li class="foot_part2 <?php if($nav =='order'):?>current<?php endif;?>"><a href="<?php echo site_url('hm/order/order_list')?>"><i class="icon iconfont">&#xe601;</i><br><span>订单</span></a></li>
        <li class="foot_part2 <?php if($nav =='add'):?>current<?php endif;?>"><a href="<?php echo site_url('hm/order/add')?>"><i class="icon iconfont">&#xe605;</i><br><span>添加</span></a></li>
        <li class="foot_part2 <?php if($nav =='repertory'):?>current<?php endif;?>"><a href="<?php echo site_url('hm/order/room_repertory')?>"><i class="icon iconfont">&#xe600;</i><br><span>库存</span></a></li>
    </ul>
</div>

<footer class="footer">
    <p class="copyright"> 备案号:<?php echo $site_record_num;?></p>
    <p class="copyright">技术支持：微农家网络科技</p>
</footer>
</body>
</html>